<%
/**
 *  register 个人信息注册
 * 
 * @author   牟景飞
 * @version v1.0
 * @date     2012-09-05
 * @since   JDK1.6
 */
%>
<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="at" uri="/WEB-INF/util_tag.tld"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title><s:text name="register.title"></s:text></title>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta content="no-cache" http-equiv="Pragma"/>
		<meta content="no-cache" http-equiv="Cache-Control"/>
		<meta content="0" http-equiv="Expires"/>
		<meta name="GENERATOR" content="MSHTML 8.00.6001.18854"/>
		<link type="text/css" rel="stylesheet" id="edit" href="<at:url css="edit.css"/>" />			
		<link type="text/css" rel="stylesheet" href="${rootPath}/Common/Js/validation-engine-2.2/css/validationEngine.jquery.css"/>
        <link type="text/css" rel="stylesheet" href="${rootPath}/Common/Js/validation-engine-2.2/css/template.css"/>	
		<script type="text/javascript" src="${rootPath}/Common/Js/jquery.js"></script>
		<script type="text/javascript" src="${rootPath}/Common/Js/common.js"></script>
		<script type="text/javascript" src="<at:url js="edit.js"/>"></script>	
		<script type="text/javascript" src="${rootPath}/Common/Js/My97DatePicker/WdatePicker.js" defer="defer"></script>
		<script type="text/javascript" src="${rootPath}/Common/Js/Upload/ajaxupload.js"></script>
		<script type="text/javascript" src="${rootPath}/Common/Js/validation-engine-2.2/languages/jquery.validationEngine-cn.js" charset="utf-8"></script>
        <script type="text/javascript" src="${rootPath}/Common/Js/validation-engine-2.2/jquery.validationEngine.js" charset="utf-8"></script>
		<script type="text/javascript">
			/**
			  *保存
			  */
			function save() {
				if($("#webForm").validationEngine('validate')){
					startRequest("index!save", opHandler, $("#webForm").serialize());
				}
			}
			
			function opHandler(data, textStatus) {
				if(data=="FailRegister"){
					alert('<s:text name="js.common.registerFail"></s:text>');
				}
				if(data=="SuccessRegister"){
					alert('<s:text name="js.common.registerSuccess"></s:text>');
					ret();
				}
			}
						
			/**
			  *重置
			  */
			function reset() {
				document.getElementById("webForm").reset();
			}
			
			/**
			  *返回
			  */
			function ret() {
				javascript:history.go(-1);
			}
			
			/**
			 * 照片上传操作 
			 */
			function init(){
				var upload = $('#uploadPhoto'), interval;
				new AjaxUpload(upload, {
					action: 'adjunct!upImage', 
					name: 'file',
					onSubmit : function(file, ext){
						// change button text, when user selects file			
						upload.text('<s:text name="js.common.uploadPhoto"></s:text>');
						// If you want to allow uploading only 1 file at time,
						// you can disable upload button
						this.disable();
						
						// Uploding -> Uploading. -> Uploading...
						interval = window.setInterval(function(){
							var text = upload.text();
							if (text.length < 10){
								upload.text(text + '.');					
							} else {
								upload.text('<s:text name="js.common.uploadPhoto"></s:text>');				
							}
						}, 200);
					},
					onComplete: function(file, response){
						var json = eval('(' + response + ')');
						window.clearInterval(interval);
						document.all("photo").value = json.id;
						//$("#webForm").validate().element($("#photo"));
						document.all("uploadPhoto").innerHTML = "<img width='102' height='126' src='adjunct!getImage?af.id=" + json.id + "' alt='上传照片' />";	
						// enable upload button
						this.enable();				
					}
				});
			}
			
			
			/**
			 * 部门单选对话框
			 */
			function orgSingleSelect(id,name){
				var myObject = new Object();
				myObject.id = document.getElementById(id);
				myObject.name = document.getElementById(name);	
			    myObject.pWindow=window;
			    window.showModalDialog('index!singleSelect.action',
			    myObject, 'dialogHeight:450px; dialogWidth: 235px;edge: Raised; center: Yes; help: Yes; resizable: No; scroll:No; status: No;');				
			}
			/**
			*籍贯单选对话框
			*@author牟景飞
			*@Date 2012-09-07
			*/
			function nativeSingleSelect(id,name){
				var myObject = new Object();
				myObject.id = document.getElementById(id);
				myObject.name = document.getElementById(name);	
			    myObject.pWindow=window;
			    window.showModalDialog('Base/Region!singleSelect.action',
			    myObject, 'dialogHeight:450px; dialogWidth: 200px;edge: Raised; center: Yes; help: Yes; resizable: No; scroll:No; status: No;');				
			}
			
			/**
			 * 添加校验规则
			 * @author 张彬
			 * @Date 2011-12-31
			 */
			function addValidate(){
				var regType = document.getElementById("regType").value;
				if('<s:text name="js.common.patient"></s:text>' == regType){
					var select = document.getElementById("cardType");
					var cardType = select.item(select.selectedIndex).getAttribute("theName");
					var card=document.getElementById("cardId");
					if('<s:text name="js.common.identityCard"></s:text>' == cardType)
						card.className = "validate[required,idCard,ajax[ajaxIDCardCall]]";
					else{
						card.className = "validate[required],ajax[ajaxIDCardCall]]";
						document.getElementById("birthday").value = "";
						card.value = "";
					}
				}
			}
			
			/**
			 * 根据身份证号码获取性别、生日
			 * @author 张彬
			 * @Date 2011-12-31
			 */
			function getInfo(){				
				var birthday;
				var cardNum = document.getElementById("cardId").value; 
				var sexSelect = document.getElementById("sex");				
				switch(cardNum.length){
					case 15:
						if(!$("#webForm").validationEngine('validateField', "#cardId")){
							if(cardNum.substr(13,1)%2 == "0")
								sexSelect.options[1].selected=true;
							else
								sexSelect.options[0].selected=true;
							birthday = "19" + cardNum.substr(6,2) + "-" + cardNum.substr(8,2) + "-" + cardNum.substr(10,2);
							document.getElementById("birthday").value = birthday;
						}else
							document.getElementById("birthday").value = "";
						break;
					case 18:
						if(!$("#webForm").validationEngine('validateField', "#cardId")){
							if(cardNum.substr(16,1)%2 == "0")
								sexSelect.options[1].selected=true;
							else
								sexSelect.options[0].selected=true;
							birthday = cardNum.substr(6,4) + "-" + cardNum.substr(10,2) + "-" + cardNum.substr(12,2);
							document.getElementById("birthday").value = birthday;
						}else
							document.getElementById("birthday").value = "";
						break;
				}				
			}

			/**
			 * validation-engine 表单验证
			 */
			jQuery(document).ready(function(){
                jQuery("#webForm").validationEngine({
	            	validationEventTriggers:"keyup blur",  //触发的事件  validationEventTriggers:"keyup blur",   
	           		inlineValidation: true,//是否即时验证，false为提交表单时验证,默认true   
	            	success :  false,//为true时即使有不符合的也提交表单,false表示只有全部通过验证了才能提交表单,默认false   
	            	promptPosition: "topRight"//提示所在的位置，topLeft, topRight, bottomLeft,  centerRight, bottomRight            	
	            });
            });
		</script>
	</head>
	<body bgcolor="#edf6fb">		
		<form class="form-style" method="post" id="webForm" name="webForm">
			<input type="hidden" name="object.id" id="" value="${object.id}"/>
			<input type="hidden" name="flag" id="" value="${flag}"/>
			<input type="hidden" name="funId" value="${funId}"/>					
			<input type="hidden" name="object.code" value="${object.code}"/>
			<input type="hidden" name="object.themes.id" value="${object.themes.id}"/>
			<input type="hidden" name="object.pageSize" value="${object.pageSize }"/>
			<table width="80%" align="center" border="0" cellspacing="0" cellpadding="0">
				<tr>
					<td>
						<!-- 位置 -->
						<table width="100%" border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td width="2%">
									&nbsp;
								</td>
								<td height="20" valign="bottom">
									当前位置：<font color="#ff0000">用户注册</font>
								</td>
							</tr>
						</table>
						<!-- 主表 -->
						<table width="100%" border="0" cellspacing="0" cellpadding="0"	style="margin-top: 5px;">
							<tr>
								<td>
									<table width="100%" border="0" cellspacing="0" cellpadding="0" height="24px">
										<tr>
											<td width="5">
												<img src="<at:url image="kuangjia_zuo_03.gif"/>" width="5" height="24"/>
											</td>
											<td class="biao1_zhong">
												<table width="100%" border="0" cellspacing="0"	cellpadding="0">
													<tr>
														<td height="24" valign="middle" class="font_3">
															[用户注册]
														</td>
													</tr>
												</table>
											</td>
											<td width="5">
												<img src="<at:url image="kuangjia_you_03.gif"/>" width="5" height="24"/>
											</td>
										</tr>
									</table>
								</td>
							</tr>
							<!-- 显示主体行 -->
							<tr>
								<td>
									<table width="100%" border="0" cellspacing="0" cellpadding="0">
										<tr>
											<td width="1" class="biao3_zuo"></td>
											<td>
												<table width="100%" border="0" cellspacing="0" cellpadding="0">
													<tr>
														<td> 													
															<table width="100%" border="0" cellspacing="0" cellpadding="0"  rules="groups">
																<tr>
																	<td width="20%" height="100%" class="biantiao_you">
																		<table width="100%" border="0" cellspacing="5" cellpadding="5">
																			<tr>
																				<td align="right" valign="middle" class="font_1">
																					姓名
																				</td>																				
																			</tr>
																		</table>
																	</td>
																	<td width="30%" height="100%" class="biantiao_you">
																		<table width="100%" border="0" cellspacing="5" cellpadding="5">
																			<tr>																				
																				<td align="left">
																					<input type="text" class="validate[required]" id="name" name="object.name" style="width:80%"/>
																					<font color="red">*</font>
																				</td>
																			</tr>
																		</table>
																	</td>
																	
																	<td colspan="2" rowspan="8" width="20%" height="100%" class="biantiao_you">
																		<table width="100%" border="0" cellspacing="5"	cellpadding="5">
																			<tr>
																				<td align="center" class="font_1">
																					<div id="uploadPhoto" style="width: 102px;height:80%;border: 0px">
																						<s:if test="#request.object.photoFile == null" >
																							<img src="<at:url image="user_default.jpg"/>" width="102" height="126" alt="<s:text name="person.edit.uploadPhoto"></s:text>" />
																						</s:if>
																						<s:else>
																							<img src="Person!getImg?id=${object.id}" width="102" height="126" alt="<s:text name="person.edit.uploadPhoto"></s:text>" />
																						</s:else>
																					</div>
																				</td>																				
																			</tr>
																		</table>
																	</td>
																</tr>
																
																<!-- 行分割线 -->
																<tr>
																	<td height="1" class="biaotiao_xia" colspan="2"></td>																	
																</tr>											
																
																<tr>
																	<td width="20%" height="100%" class="biantiao_you">
																		<table width="100%" border="0" cellspacing="5" cellpadding="5">
																			<tr>
																				<td width="25%" align="right" valign="middle" class="font_1">
																					<nobr><s:text name="register.username"></s:text></nobr>
																				</td>																				
																			</tr>
																		</table>
																	</td>
																	<td width="30%" height="100%" class="biantiao_you">
																		<table width="100%" border="0" cellspacing="5" cellpadding="5">
																			<tr>																				
																				<td width="75%" align="left">
																					<input class="validate[required,custom[onlyLetterNumber],ajax[ajaxUserNameCall]]" id="username" name="object.username" style="width:80%"/>
																					<font color="red">*</font>
																				</td>
																			</tr>
																		</table>
																	</td>																	
																</tr> 
																 					
																<!-- 行分割线 -->
																<tr>
																	<td height="1" class="biaotiao_xia" colspan="2"></td>																	
																</tr>
																<tr>
																	<td width="20%" height="100%" class="biantiao_you">
																		<table width="100%" border="0" cellspacing="5" cellpadding="5">
																			<tr>
																				<td width="25%" align="right" valign="middle" class="font_1">
																					<nobr>所在部门</nobr>
																				</td>																				
																			</tr>
																		</table>
																	</td>
																	<td width="30%" height="100%" class="biantiao_you">
																		<table width="100%" border="0" cellspacing="5" cellpadding="5">
																			<tr>																				
																				<td width="75%" align="left">
																					<input class="validate[required]" type="text" id="orgName" name="object.organ.name" readonly="readonly"
																						 onclick="orgSingleSelect('orgId','orgName');" style="width:80%"/> 
																						<input type="hidden" id="orgId" name="object.organ.id"/>
																				</td>
																			</tr>
																		</table>
																	</td>																	
																</tr>  					
																<!-- 行分割线 -->
																<tr>
																	<td height="1" class="biaotiao_xia" colspan="2"></td>																	
																</tr>														
																<tr>
																	<td width="20%" height="100%" class="biantiao_you">
																		<table width="100%" border="0" cellspacing="5" cellpadding="5">
																			<tr>
																				<td width="25%" align="right" valign="middle" class="font_1">
																					<nobr><s:text name="register.password"></s:text></nobr>
																				</td>																				
																			</tr>
																		</table>
																	</td>
																	<td width="30%" height="100%" class="biantiao_you">
																		<table width="100%" border="0" cellspacing="5" cellpadding="5">
																			<tr>																				
																				<td width="75%" align="left">
																					<input class="validate[required,minSize[6]]" type="password" name="object.password" id="password" style="width:80%"/>
																					<font color="red">*</font>
																				</td>
																			</tr>
																		</table>
																	</td>																	
																</tr> 
																<!-- 行分割线 -->
																<tr>
																	<td height="1" class="biaotiao_xia" colspan="4"></td>																	
																</tr>
																
																
																<tr>
																	<td width="20%" height="100%" class="biantiao_you">
																		<table width="100%" border="0" cellspacing="5" cellpadding="5">
																			<tr>
																				<td width="25%" align="right" valign="middle" class="font_1">
																					<nobr><s:text name="register.confirmPassword"></s:text></nobr>
																				</td>																				
																			</tr>
																		</table>
																	</td>
																	<td width="30%" height="100%" class="biantiao_you">
																		<table width="100%" border="0" cellspacing="5" cellpadding="5">
																			<tr>																				
																				<td width="75%" align="left">
																					<input class="validate[required,minSize[6],equals[password]]" type="password" id="conPassword" style="width:80%"/>
																					<font color="red">*</font>
																				</td>
																			</tr>
																		</table>
																	</td>
																	<td width="20%" height="100%" class="biantiao_you">
																		<table width="100%" border="0" cellspacing="5"
																			cellpadding="5">
																			<tr>
																				<td align="right" class="font_1">
																					<nobr>选择照片</nobr>
																				</td>																				
																			</tr>
																		</table>
																	</td>
																	<td width="30%" height="100%">
																		<table width="100%" border="0" cellspacing="5"
																			cellpadding="5">
																			<tr>																				
																				<td align="left">
																					 <nobr><input type="file" align="left"  name="photoFile" id="photoFile" style="width: 90%" /></nobr>
																				</td>
																			</tr>
																		</table>
																	</td>																			
																</tr> 
																<!-- 行分割线 -->
																<tr>
																	<td height="1" class="biaotiao_xia" colspan="4"></td>																	
																</tr>		
																<tr>																	
																	<td width="20%" height="100%" class="biantiao_you">
																		<table width="100%" border="0" cellspacing="5" cellpadding="5">
																			
																			<tr>
																				<td width="25%" align="right" valign="middle" class="font_1">
																					<nobr>证件类型</nobr>
																				</td>																				
																			</tr>
																		</table>
																	</td>
																	<td width="30%" height="100%" class="biantiao_you">
																		<table width="100%" border="0" cellspacing="5" cellpadding="5">
																			<tr>																				
																				<td width="75%" align="left">
																					<select class="validate[required]" id="objectTypeId" name="object.cardType.id" style="width:81%">
																						<s:action  name="SysCode!getCodeList" namespace="/Sys">
																							<s:param name="codeType">cardType</s:param>
																						</s:action>
																						<option  value=""><s:text name="register.choose"></s:text></option>
																						<s:iterator value="#request['codeList']">
																							<option  value="${id}" ${id==object.cardType.id?'selected':''} >${name}</option>
																						</s:iterator>
																					</select>	
																					<font color="red">*</font>		
																				</td>
																			</tr>
																		</table>
																	</td>	
																	<td width="20%" height="100%" class="biantiao_you">
																		<table width="100%" border="0" cellspacing="5"
																			cellpadding="5">
																			<tr>
																				<td width="25%" align="right" valign="middle" class="font_1">
																					<nobr>证件号码</nobr>
																				</td>																				
																			</tr>
																		</table>
																	</td>
																	<td width="30%" height="100%">
																		<table width="100%" border="0" cellspacing="5"
																			cellpadding="5">
																			<tr>																				
																				<td width="75%" align="left">
																					<input name="object.cardId" id="cardId" class="validate[required,idCard,ajax[ajaxCardIdCall]]" style="width:80%" onblur="getInfo();"/>
																					<font color="red">*</font>
																				</td>
																			</tr>
																		</table>
																	</td>														
																</tr> 
																<!-- 行分割线 -->
																<tr>
																	<td height="1" class="biaotiao_xia" colspan="4"></td>																	
																</tr>
																<tr>
																	<td width="20%" height="100%" class="biantiao_you">
																		<table width="100%" border="0" cellspacing="5"
																			cellpadding="5">
																			<tr>
																				<td align="right" class="font_1">
																					<nobr><s:text name="register.birthday"></s:text></nobr>
																				</td>																				
																			</tr>
																		</table>
																	</td>
																	<td width="30%" height="100%" class="biantiao_you">
																		<table width="100%" border="0" cellspacing="5"
																			cellpadding="5">
																			<tr>																				
																				<td align="left">
																					<input type="text" name="object.birthday" id="birthday"  style="width:80%"
																					readonly="readonly" class="form-date" onfocus="WdatePicker()"/>
																				</td>
																			</tr>
																		</table>
																	</td>					
																	<td width="20%" height="100%" class="biantiao_you">
																		<table width="100%" border="0" cellspacing="5" cellpadding="5">
																			<tr>
																				<td width="25%" align="right" valign="middle" class="font_1">
																					<nobr><s:text name="register.sex"></s:text></nobr>
																				</td>																				
																			</tr>
																		</table>
																	</td>
																	<td width="30%" height="100%">
																		<table width="100%" border="0" cellspacing="5" cellpadding="5">
																			<tr>																				
																				<td width="75%" align="left">
																					<select id="sex" name="object.sex.id" style="width:81%">
																						<s:action name="SysCode!getCodeList" namespace="/Sys">
																							<s:param name="codeType">sex</s:param>
																						</s:action>
																						<s:iterator value="#request['codeList']">
																							<option value="${id}">${name}</option>
																						</s:iterator>
																					</select>
																				</td>
																			</tr>
																		</table>
																	</td>									
																</tr> 
																<!-- 行分割线 -->
																<tr>
																	<td height="1" class="biaotiao_xia" colspan="4"></td>																	
																</tr>							
																<tr>
																	<td width="20%" height="100%" class="biantiao_you">
																		<table width="100%" border="0" cellspacing="5" cellpadding="5">
																			<tr>
																				<td width="25%" align="right" valign="middle" class="font_1">
																					<nobr><s:text name="register.nation"></s:text> </nobr>
																				</td>																				
																			</tr>
																		</table>
																	</td>
																	<td width="30%" height="100%" class="biantiao_you">
																		<table width="100%" border="0" cellspacing="5" cellpadding="5">
																			<tr>																				
																				<td width="75%" align="left">
																					<select name="object.nation.id" style="width:81%">
																						<s:action name="SysCode!getCodeList" namespace="/Sys">
																							<s:param name="codeType">nation</s:param>
																						</s:action>
																						<s:iterator value="#request['codeList']">
																							<option value="${id}">
																								${name}
																							</option>
																						</s:iterator>
																					</select>
																				</td>
																			</tr>
																		</table>
																	</td>				
																	<td width="20%" height="100%" class="biantiao_you">
																		<table width="100%" border="0" cellspacing="5"
																			cellpadding="5">
																			<tr>
																				<td align="right" class="font_1">
																					<nobr>籍贯</nobr>
																				</td>																				
																			</tr>
																		</table>
																	</td>
																	<td width="30%" height="100%">
																		<table width="100%" border="0" cellspacing="5"
																			cellpadding="5">
																			<tr>																				
																				<td align="left">
																					<input  type="text" id="natName" name="object.nativePlace.name" readonly="readonly"
																						 onclick="nativeSingleSelect('natId','natName');" style="width:80%"/> 
																						<input type="hidden" id="natId" name="object.nativePlace.id"/>
																					<font color="red">*</font>
																				</td>
																			</tr>
																		</table>
																	</td>																															
																</tr> 
																<!-- 行分割线 -->
																<tr>
																	<td height="1" class="biaotiao_xia" colspan="4"></td>																	
																</tr>
																<tr>
																	<td width="20%" height="100%" class="biantiao_you">
																		<table width="100%" border="0" cellspacing="5" cellpadding="5">
																			<tr>
																				<td width="25%" align="right" valign="middle" class="font_1">
																					<nobr><s:text name="register.speciality"></s:text></nobr>
																				</td>																				
																			</tr>
																		</table>
																	</td>
																	<td width="30%" height="100%" class="biantiao_you">
																		<table width="100%" border="0" cellspacing="5" cellpadding="5">
																			<tr>																				
																				<td width="75%" align="left">
																					<input type="text" name="object.profession" style="width:80%"/>
																				</td>
																			</tr>
																		</table>
																	</td>			
																	<td width="20%" height="100%" class="biantiao_you">
																		<table width="100%" border="0" cellspacing="5"
																			cellpadding="5">
																			<tr>
																				<td align="right" class="font_1">
																					<nobr><s:text name="register.professionalSkill"></s:text></nobr>
																				</td>																				
																			</tr>
																		</table>
																	</td>
																	<td width="30%" height="100%">
																		<table width="100%" border="0" cellspacing="5"
																			cellpadding="5">
																			<tr>																				
																				<td align="left">
																					<input type="text" name="object.skill" style="width:80%"/>
																				</td>
																			</tr>
																		</table>
																	</td>																																	
																</tr>
																<!-- 行分割线 -->
																<tr>
																	<td height="1" class="biaotiao_xia" colspan="4"></td>																	
																</tr>
																<tr>
																	<td width="20%" height="100%" class="biantiao_you">
																		<table width="100%" border="0" cellspacing="5"
																			cellpadding="5">
																			<tr>
																				<td align="right" class="font_1">
																					<nobr><s:text name="register.school"></s:text></nobr>
																				</td>																				
																			</tr>
																		</table>
																	</td>
																	<td width="30%" height="100%"  class="biantiao_you">
																		<table width="100%" border="0" cellspacing="5"
																			cellpadding="5">
																			<tr>																				
																				<td align="left">
																					<input type="text" name="object.school" style="width:80%"/>
																				</td>
																			</tr>
																		</table>
																	</td>		
																	<td width="20%" height="100%" class="biantiao_you">
																		<table width="100%" border="0" cellspacing="5" cellpadding="5">
																			<tr>
																				<td width="25%" align="right" valign="middle" class="font_1">
																					<nobr><s:text name="register.scholar"></s:text></nobr>
																				</td>																				
																			</tr>
																		</table>
																	</td>
																	<td width="30%" height="100%">
																		<table width="100%" border="0" cellspacing="5" cellpadding="5">
																			<tr>																				
																				<td width="75%" align="left">
																					<select name="object.scholar.id"  style="width:81%">
																						<s:action name="SysCode!getCodeList" namespace="/Sys">
																							<s:param name="codeType">educationBackground</s:param>
																						</s:action>
																						<s:iterator value="#request['codeList']">
																							<option value="${id}">
																								${name}
																							</option>
																						</s:iterator>
																					</select>
																				</td>
																			</tr>
																		</table>
																	</td>																															
																</tr>
																<!-- 行分割线 -->
																<tr>
																	<td height="1" class="biaotiao_xia" colspan="4"></td>																	
																</tr>
																<tr>
																	<td width="20%" height="100%" class="biantiao_you">
																		<table width="100%" border="0" cellspacing="5" cellpadding="5">
																			<tr>
																				<td width="25%" align="right" valign="middle" class="font_1">
																					<nobr><s:text name="register.qualification"></s:text></nobr>
																				</td>																				
																			</tr>
																		</table>
																	</td>
																	<td width="30%" height="100%"  class="biantiao_you">
																		<table width="100%" border="0" cellspacing="5" cellpadding="5">
																			<tr>																				
																				<td width="75%" align="left">
																					<select name="object.jobTitle.id"  style="width:81%">
																						<s:action name="SysCode!getCodeList" namespace="/Sys">
																							<s:param name="codeType">jobTitle</s:param>
																						</s:action>
																						<s:iterator value="#request['codeList']">
																							<option value="${id}">
																								${name}
																							</option>
																						</s:iterator>
																					</select>
																				</td>
																			</tr>
																		</table>
																	</td>		
																	<td width="20%" height="100%" class="biantiao_you">
																		<table width="100%" border="0" cellspacing="5"
																			cellpadding="5">
																			<tr>
																				<td align="right" class="font_1">
																					<nobr><s:text name="register.duty"></s:text></nobr>
																				</td>																				
																			</tr>
																		</table>
																	</td>
																	<td width="30%" height="100%">
																		<table width="100%" border="0" cellspacing="5"
																			cellpadding="5">
																			<tr>																				
																				<td align="left">
																					<select name="object.duty.id"  style="width:81%">
																						<s:action name="SysCode!getCodeList" namespace="/Sys">
																							<s:param name="codeType">duty</s:param>
																						</s:action>
																						<s:iterator value="#request['codeList']">
																							<option value="${id}">
																								${name}
																							</option>
																						</s:iterator>
																					</select>
																				</td>
																			</tr>
																		</table>
																	</td>																																
																</tr>
																<!-- 行分割线 -->
																<tr>
																	<td height="1" class="biaotiao_xia" colspan="4"></td>																	
																</tr>
																<tr>
																	<td width="20%" height="100%" class="biantiao_you">
																		<table width="100%" border="0" cellspacing="5" cellpadding="5">
																			<tr>
																				<td width="25%" align="right" valign="middle" class="font_1">
																					<nobr><s:text name="register.mobile"></s:text></nobr>
																				</td>																				
																			</tr>
																		</table>
																	</td>
																	<td width="30%" height="100%"  class="biantiao_you">
																		<table width="100%" border="0" cellspacing="5" cellpadding="5">
																			<tr>																				
																				<td width="75%" align="left">
																					<input class="validate[required,custom[mobile]]" id="mobile" type="text" name="object.mobile" style="width:80%"/>
																					<font color="red">*</font>
																				</td>
																			</tr>
																		</table>
																	</td>		
																	<td width="20%" height="100%" class="biantiao_you">
																		<table width="100%" border="0" cellspacing="5"
																			cellpadding="5">
																			<tr>
																				<td align="right" class="font_1">
																					<nobr><s:text name="register.telephone"></s:text></nobr>
																				</td>																				
																			</tr>
																		</table>
																	</td>
																	<td width="30%" height="100%"> 
																		<table width="100%" border="0" cellspacing="5"
																			cellpadding="5">
																			<tr>																				
																				<td align="left">
																					<input class="validate[custom[phone]]" id="tel" type="text" name="object.tel" style="width:80%"/>
																				</td>
																			</tr>
																		</table>
																	</td>																															
																</tr>
																<!-- 行分割线 -->
																<tr>
																	<td height="1" class="biaotiao_xia" colspan="4"></td>																	
																</tr>
																<tr>
																	<td width="20%" height="100%" class="biantiao_you">
																		<table width="100%" border="0" cellspacing="5" cellpadding="5">
																			<tr>
																				<td width="25%" align="right" valign="middle" class="font_1">
																					<nobr><s:text name="register.email"></s:text></nobr>
																				</td>																				
																			</tr>
																		</table>
																	</td>
																	<td width="30%" height="100%"  class="biantiao_you">
																		<table width="100%" border="0" cellspacing="5" cellpadding="5">
																			<tr>																				
																				<td width="75%" align="left">
																					<input class="validate[required,custom[email]]" id="email" type="text" name="object.email" style="width:80%"/>
																					<font color="red">*</font>
																				</td>
																			</tr>
																		</table>
																	</td>		
																	<td width="20%" height="100%" class="biantiao_you">
																		<table width="100%" border="0" cellspacing="5"
																			cellpadding="5">
																			<tr>
																				<td align="right" class="font_1">
																					<nobr><s:text name="register.address"></s:text></nobr>
																				</td>																				
																			</tr>
																		</table>
																	</td>
																	<td width="30%" height="100%">
																		<table width="100%" border="0" cellspacing="5"
																			cellpadding="5">
																			<tr>																				
																				<td width="100%" align="left">
																					<input type="text" name="object.addr" style="width:80%"/>
																				</td>
																			</tr>
																		</table>
																	</td>																
																</tr>																														
															</table>															
														</td>
													</tr>
												</table>
											</td>
											<td width="1" class="biao3_you"></td>
										</tr>
									</table>
								</td>
							</tr>
							<!-- 按钮行 -->
							<tr>
								<td>
									<table width="100%" border="0" cellspacing="0" cellpadding="0">
										<tr>
											<td width="4" height="24">
												<img src="<at:url image="kuangjia2_zuo_03.gif"/>" width="4" height="24"/>
											</td>
											<td class="biao3_xia">
												<table width="100%" border="0" cellspacing="0"
													cellpadding="0">
													<tr>
														<td height="24" class="biao4_zhong">
															<div id="nav_01">
																<ul>
																	<li>
																		<a href="#" onclick="ret();">返回</a>
																	</li>																  									
																	<li>
																		<a href="#" onclick="reset();">重置</a>
																	</li>
																	<li>
																		<a href="#" onclick="save();">保存</a>
																	</li>																	 
																</ul>
															</div>
														</td>
													</tr>
												</table>
											</td>
											<td width="4" height="24">
												<img src="<at:url image="kuangjia2_you_03.gif"/>" width="4" height="24"/>
											</td>
										</tr>
									</table>
								</td>
							</tr>
						</table>								
					</td>
				</tr>
			</table>
		</form>
	</body>
</html>
